﻿CREATE TRIGGER [trg_SecurityRoleAccess_Audit]
    ON [dbo].[SecuirtyRoleAccess]
    FOR DELETE, INSERT 
    AS 
    BEGIN
    	SET NOCOUNT ON
		SELECT *
		INTO #Inserted_SecurityRoleAccess
		FROM inserted 

		SELECT *
		INTO #Deleted_SecurityRoleAccess
		FROM deleted

		exec dbo.oisp_Audit_SecurityRoleAccess 

    END
